package com.mondo.financialwallet.data.params;

public class RegisterParams {

    // 注册类型 手机1 邮箱2
    private int type;
    private CharSequence email;
    private CharSequence areaCode;
    private CharSequence mobileNumber;
    private CharSequence password;
    private CharSequence authCode;
    private CharSequence invitationCode;

    public RegisterParams(
            CharSequence areaCode, CharSequence mobileNumber, CharSequence password,
            CharSequence authCode, CharSequence invitationCode) {
        this(1, areaCode, mobileNumber, password, authCode, invitationCode);
    }

    public RegisterParams(
            int type, CharSequence areaCode, CharSequence mobileNumber, CharSequence password,
            CharSequence authCode, CharSequence invitationCode) {
        this.type = type;
        this.areaCode = areaCode;
        this.mobileNumber = mobileNumber;
        this.password = password;
        this.authCode = authCode;
        this.invitationCode = invitationCode;
    }

    public int getType() {
        return type;
    }

    public CharSequence getEmail() {
        return email;
    }

    public CharSequence getAreaCode() {
        return areaCode;
    }

    public CharSequence getMobileNumber() {
        return mobileNumber;
    }

    public CharSequence getPassword() {
        return password;
    }

    public CharSequence getAuthCode() {
        return authCode;
    }

    public CharSequence getInvitationCode() {
        return invitationCode;
    }
}
